﻿using System;
using System.ComponentModel.DataAnnotations;

namespace IotWeek3Day17.Models
{
   
    //商品类型
    public class ProductType
    {
        [Key]
        public int TId { get; set; } //商品分类主键

        [StringLength(30)]
        [Required]
        public string Name { get; set; }  //商品分类名
    }
}
